[paket]
tanim   = OCI uyumlu konteynerleri yönetmek için konsol aracı
paketci = milisarge
grup    = sistem
url     = https://runc.io/

[gerek]
derleme = go libseccomp
calisma =

[kaynak]
1       = https://github.com/opencontainers/runc/archive/dc9208a3303feef5b3839f4323d9beb36df0a9dd.tar.gz::$isim-$surum-dc9208a3.tar.gz

[derle]
betik   = mkdir -p ${SRC}/src/github.com/opencontainers
betik   = cp -r ${SRC}/$isim-dc9208a3303feef5b3839f4323d9beb36df0a9dd ${SRC}/src/github.com/opencontainers/$isim
betik   = cd ${SRC}/src/github.com/opencontainers/$isim
betik   = export EXTRA_FLAGS="-gcflags all=-trimpath=${PWD} -asmflags all=-trimpath=${PWD}"
betik   = export EXTRA_LDFLAGS="-extldflags ${LDFLAGS}"
betik   = export BUILDTAGS='seccomp apparmor'
betik   = export GOPATH=${SRC}
betik   = GOPATH=${SRC} make runc

[pakur]
betik   = cd $SRC/src/github.com/opencontainers/runc
betik   = install -Dm755 runc "$PKG/usr/bin/runc"
